<template>
    <div class="like_p">
            <div class="title_name"><span>猜你喜欢</span></div>
            <div class="list">
                <ul class="list_style">
                    <li class="p_info_u" v-for="(item, index) in guessyourlikeproducts" :key="index">
                        <a href="javascript:void(0)" class="p_img"><img :src="item.image"></a>
                        <a href="javascript:void(0)" class="name">{{item.productName}}</a>
                        <div class="Numeral">
                          <span class="price"><i>￥</i>{{item.price}}</span>
                          <span class="Sales">销量<i>{{item.SalesVolume}}</i>件</span>
                        </div>
                    </li>
                   
                </ul>
            </div>
        </div>
</template>

<script>
export default {
  data () {
    return {
      guessyourlikeproducts:[
        {image:"/static/products/p_13.jpg",productName: "御泥坊 玫瑰滋养+红石榴亮颜美肤套装 深层补水滋润 提亮肤色",price: 299,SalesVolume:123},
        {image:"/static/products/p_15.jpg",productName: "御泥坊 玫瑰滋养+红石榴亮颜美肤套装 深层补水滋润 提亮肤色",price: 100,SalesVolume:234},
        {image:"/static/products/p_16.jpg",productName: "御泥坊 玫瑰滋养+红石榴亮颜美肤套装 深层补水滋润 提亮肤色",price: 399,SalesVolume:333},
        {image:"/static/products/p_17.jpg",productName: "御泥坊 玫瑰滋养+红石榴亮颜美肤套装 深层补水滋润 提亮肤色",price: 555,SalesVolume:399},
        {image:"/static/products/p_18.jpg",productName: "御泥坊 玫瑰滋养+红石榴亮颜美肤套装 深层补水滋润 提亮肤色",price: 444,SalesVolume:654},
        {image:"/static/products/p_19.jpg",productName: "御泥坊 玫瑰滋养+红石榴亮颜美肤套装 深层补水滋润 提亮肤色",price: 666,SalesVolume:899},
        {image:"/static/products/p_23.jpg",productName: "御泥坊 玫瑰滋养+红石榴亮颜美肤套装 深层补水滋润 提亮肤色",price: 999,SalesVolume:431},
        {image:"/static/products/p_32.jpg",productName: "御泥坊 玫瑰滋养+红石榴亮颜美肤套装 深层补水滋润 提亮肤色",price: 99,SalesVolume:999}

      ]
    }
  },
   props: ["guessdata"],//{{guessdata[0].image}}
   methods: {
     
   },
   filters: {
     // 价格补0
    // capitalize: function (value) {
    //   if (!value) return ''
    //   value = value.toString()
    //   return value.charAt(0).toUpperCase() + value.slice(1)
  }


}
</script>

<style>

</style>
